package cn.com.dev.temp;

import cn.com.kh.FDDUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * @projectName: ngsapitask-ph
 * @package: cn.com.dev
 * @className: FDD_SDK
 * @author: LiJT
 * @description: TODO
 * @date: 2024-06-27 18:25
 * @version: 1.0
 */
public class FDD_Callback {
    private static final Log log = LogFactory.getLog(FDD_Callback.class);

    public static void main(String[] args) throws Exception {

        //接收客户端调用参数
        String callJson = "{\n" + "    \"appId\": \"999999\",\n" + "    \"sign\": \"NDNENjMzRUM3REE5N0MyMThERkI2Mjc0NTZCQTVBMDIzRjQ3QkMxRg==\",\n" + "    \"bizContent\": \"JTdCJTIyc3RhdHVzRGVzYyUyMiUzQSUyMiVFNSVBRSVBMSVFNiVBMCVCOCVFOSU4MCU5QSVFOCVCRiU4NyUyMiUyQyUyMmFwcElkJTIyJTNBJTIyMTAwMDAyJTIyJTJDJTIyY3VzdG9tZXJJZCUyMiUzQSUyMmY3NWFmY2ViYzdlMTRmODA5YzIyMTMwYTk4YjkyYTEyJTIyJTJDJTIyYXVkaXRGYWlsUmVhc29uJTIyJTNBJTIyJTIyJTJDJTIyc2VyaWFsTm8lMjIlM0ElMjJmZjQzOWRmNjI4ZGU0M2E0YmRmZGYwYmRjNzgxZjY3MiUyMiUyQyUyMnN0YXR1cyUyMiUzQTIlN0Q=\",\n" + "    \"signType\": \"SHA1\",\n" + "    \"timestamp\": \"1723362700757\"\n" + "}";
        log.debug("bizContent转码bizContentJson：" + FDDUtils.callbackParse(callJson));

    }
}
